package com.yuantu.judiciary.model.vo;

import com.yuantu.judiciary.model.enums.PayState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 订单详情数据
 *
 * @author syw
 * @since 2023-08-15
 **/
@Data
@ApiModel("订单详情数据")
public class OrderDetailVO {
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("交易单号")
    private String tradeNo;
    @ApiModelProperty("套餐名称")
    private String vipName;
    @ApiModelProperty("总价")
    private Double totalPrice;
    @ApiModelProperty("单价")
    private Double unitPrice;
    @ApiModelProperty("时长：年")
    private Integer duration;
    @ApiModelProperty("查询总次数")
    private Integer queryTotalNum;
    @ApiModelProperty("账号数量")
    private Integer accountNum;
    @ApiModelProperty("组织名称")
    private String orgName;
    @ApiModelProperty("生效时间")
    private Timestamp effectiveTime;
    @ApiModelProperty("失效时间")
    private Timestamp expiresTime;
    @ApiModelProperty("支付时间")
    private Timestamp payTime;
    @ApiModelProperty("支付人")
    private String username;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("支付方式")
    private String type;
    @ApiModelProperty("支付状态")
    private PayState payState;
}
